using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace ERPBackend.Models
{
    public class RolePermission : BaseModel
    {
        [Required]
        [MaxLength(50)]
        public string PermissionName { get; set; }

        [MaxLength(200)]
        public string Description { get; set; }

        [Required]
        public bool Status { get; set; } = true;

        // 外键
        [Required]
        public int RoleId { get; set; }


    }
}